/**
  ******************************************************************************
  * @file    decode.h
  * @author  tgm
  * @version V1.0.0
  * @date    24-june-2013
  * @brief  
  ******************************************************************************
  * @attention
  *
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __DECODE_H
#define __DECODE_H
 #include "stm32f10x.h"
#include "motor.h"
void command_save(void);
void receive_buffer_reads(void); 
void command_buffer_reads(void); 
u8 move_decode(u8 query_index);
void command_nmove_decode(void); 
void command_move_decode(void); 
u8 nmove_decode(u8 query_index);
void sendback_chars(void);
void sendback_PC(void);
u32 Asciitochar(void);
void statue_backtoPC(void);
void char_to_ASCII(u8 i,u32 cont);

#endif
